<template>
  <div>
    <h1>vuex练习</h1>
    <ul>
      <li>
        <router-link to="/shouye">首页</router-link>
      </li>
      <li>
        <router-link to="/fenlei">分类</router-link>
      </li>
      <li>
        <router-link to="/wode">我的</router-link>
      </li>
    </ul>
    <router-view></router-view>
    <router-view name="ShouYeOne"></router-view>
  </div>
</template>

<script>
  export default {
    components:{

    }
  }
</script>

<style lang="scss" scoped>
ul{
  display: flex;
  li{
    list-style: none;
    margin-left: 30px;
    a{
      text-decoration: none;
    }
  }
}
</style>